search the third word in string in c#

82

search the third word in string in c# -

string[] wordslist = text.Split(' ');
Console.WriteLine(wordslist[index-1]);

Comments

Submit
0 Comments